<%-- 
    Document   : Aggiungicorso_Segreteria
    Created on : 29-mag-2012, 8.37.45
    Author     : aleX
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="Utils.Corso_base "%>
<%@page import="Utils.Corso "%>
<!DOCTYPE html>
<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Aggiungi corso</title>

  <link rel="stylesheet" type="text/css" href="css/bootstrap.css"> <!-- Chiamata al css contenente la grafica -->
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
  <link rel="stylesheet" type="text/css" href="css/smoothness/jquery-ui-1.8.19.custom.css" >
  <script type="text/javascript" src="js/jquery-ui-1.8.19.custom.min.js" ></script>

 <style type="text/css">
        #selectable .ui-selecting { background: #FFFFFF; }
	#selectable .ui-selected { background: #99CBFF; color: black; border: #34FF12; }
</style>

<script>
            $(document).ready(function (){
                var x = $(document).height();
                $('#Bottom_bar').css("top", (x+118)+"px");
                $('#Menu_background').css("height" , x+"px");
            });

</script> 

</head>

<body>
    

<div id="Menu_background"> </div>
<div id="Top_bar"> </div>
<div id="Bottom_bar"> </div>



<div id="Header">

	<div id="LOGO_UNITN" class="image" style="position:absolute;left:26px;top:15px;width:339px;height:93px;z-index:0;padding:0;">
	<img src="images/logo_unitn1.gif" id="Image1" alt="" border="0" style="width:339px;height:93px;"></div>

</div>

<div id="SlideMenu1">
<ul class="nav nav-list">
  <li class="nav-header">
    segreteria
  </li>
  <li>
    <a href="Studenti_Segreteria">Studenti</a>
  </li>
  <li class="active">
    <a href="Corsi_Segreteria">Corsi</a>
  </li>
   <li>
    <a href="Docenti_Segreteria">Docenti</a>
  </li>
  <li>
    <a href="Logout">Logout</a>
  </li>
</ul>
</div>

<div style="position:absolute;left:190px;top:162px">
    <h3>Aggiunta nuovo corso al database</h3>

<form class="form-horizontal" action="Aggiungicorso_Segreteria">
    <br><br>
<fieldset>   
<div class="control-group" >
    <label class="control-label" >Nome corso</label>
    <div class="controls">
        <input type="text" class="input-large" name="corso_nome">
    </div>
</div>
     
<div class="control-group">
    <label class="control-label">Periodo</label>
    <div class="controls">
    <input type="text" class="input-large" name="periodo" >
    </div>
</div>

<div class="control-group">
    <label class="control-label">Data inizio corso</label>
    <div class="controls">
    <input type="text" class="input-large" name="data_inizio" >
    </div>
</div>
    
<div class="control-group">
    <label class="control-label">Crediti</label>
    <div class="controls">
    <input type="text" class="input-large" name="corso_crediti" >
    </div>
</div>    
    
<div class="control-group">
    <label class="control-label">Aula</label>
    <div class="controls">
    <input type="text" class="input-large" name="corso_aula_lezioni" >
    </div>
</div>
    
<div class="control-group">
    <label class="control-label">Nome docente</label>
    <div class="controls">
        <input type="text" class="input-large" name="corso_docente">
    </div>
</div>
   
<div class="control-group">
    <label class="control-label">Url del Corso</label>
    <div class="controls">
    <input type="text" class="input-large" name="url_corso" >
    </div>
</div>
    
<div class="control-group">
    <label class="control-label">Anno accademico</label>
    <div class="controls">
    <input type="text" class="input-large" name="anno_accademico" >
    </div>
</div>
<div class="control-group">
            <label class="control-label" >E' interno</label>
            <div class="controls">
                <input type="checkbox" name="interno" value="option1">
            </div>
</div>
<div class="control-group">
            <label class="control-label" >Visualizzabile</label>
            <div class="controls">
                <input type="checkbox" name="E_in_manifesto" value="option1">
            </div>
</div>
    <div>
        <input type="submit" class="btn btn-primary" style="align: center" name="aggiungi" value="Aggiungi corso">   
    </div>
</fieldset>
</form>

</div>
</body>
</html>
